A Generic Framework for Engineering Graph Canonization Algorithms

نویسندگان

  • Jakob L. Andersen
  • Daniel Merkle
چکیده

The state-of-the-art tools for practical graph canonization are all based on the individualization-refinement paradigm, and their difference is primarily in the choice of heuristics they include and in the actual tool implementation. It is thus not possible to make a direct comparison of how individual algorithmic ideas affect the performance on different graph classes. We present an algorithmic software framework that facilitates implementation of heuristics as independent extensions to a common core algorithm. It therefore becomes easy to perform a detailed comparison of the performance and behaviour of different algorithmic ideas. Implementations are provided of a range of algorithms for tree traversal, target cell selection, and node invariant, including choices from the literature and new variations. The framework readily supports extraction and visualization of detailed data from separate algorithm executions for subsequent analysis and development of new heuristics. Using collections of different graph classes we investigate the effect of varying the selections of heuristics, often revealing exactly which individual algorithmic choice is responsible for particularly good or bad performance. On several benchmark collections, including a newly proposed class of difficult instances, we additionally find that our implementation performs better than the current state-of-the-art tools.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Engineering an Efficient Canonical Labeling Tool for Large and Sparse Graphs

The problem of canonically labeling a graph is studied. Within the general framework of backtracking algorithms based on individualization and refinement, data structures, subroutines, and pruning heuristics especially for fast handling of large and sparse graphs are developed. Experiments indicate that the algorithm implementation in most cases clearly outperforms existing state-of-the-art tools.

متن کامل

Alogtime Algorithms for Tree Isomorphism, Comparison, and Canonization

The tree isomorphism problem is the problem of determining whether two trees are isomorphic. The tree canonization problem is the problem of producing a canonical tree isomorphic to a given tree. The tree comparison problem is the problem of determining whether one tree is less than a second tree in a natural ordering on trees. We present alternating logarithmic time algorithms for the tree iso...

متن کامل

Describing Graphs a First Order Approach to Graph Canonization

In this paper we ask the question What must be added to rst order logic plus least xed point to obtain exactly the polynomial time properties of unordered graphs We consider the languages Lk consisting of rst order logic restricted to k variables and Ck consisting of Lk plus counting quanti ers We give e cient canonization algorithms for graphs characterized by Ck or Lk It follows from known re...

متن کامل

A Log-space Algorithm for Canonization of Planar Graphs

Planar graph canonization is known to be hard for L this directly follows from L-hardness of tree-canonization [Lin92]. We give a log-space algorithm for planar graph canonization. This gives completeness for log-space under AC many-one reductions and improves the previously known upper bound of AC [MR91]. A planar graph can be decomposed into biconnected components. We give a log-space procedu...

متن کامل

3-connected Planar Graph Isomorphism is in Log-space

We consider the isomorphism and canonization problem for 3-connected planar graphs. The problem was known to be L -hard and in UL ∩ coUL [TW08]. In this paper, we give a deterministic log-space algorithm for 3-connected planar graph isomorphism and canonization. This gives an L -completeness result, thereby settling its complexity. The algorithm uses the notion of universal exploration sequence...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2018